package org.calzz.rpc.envelope;

/**
 * 
 *
 * @author Marek Brodziak <marek.brodziak@gmail.com>
 * @author Piotr Pejas <piotr.pejas@gmail.com>
 * @since Mar 8, 2008
 */
public class JsonExceptionEnvelope {
	private String exceptionMessage;
	private String exception;
	private String message;
	private String className;
	private String methodName;
	private int lineNumber;
	
	/**
	 * @return
	 */
	public String getException() {
		return exception;
	}

	/**
	 * @param exception
	 */
	public void setException(String exception) {
		this.exception = exception;
	}

	/**
	 * @param message
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	
	/**
	 * @param className
	 */
	public void setClassName(String className) {
		this.className = className;
	}
	
	/**
	 * @param methodName
	 */
	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}
	
	/**
	 * @param lineNumber
	 */
	public void setLineNumber(int lineNumber) {
		this.lineNumber = lineNumber;
	}
	
	/**
	 * @return
	 */
	public String getMessage() {
		return message;
	}
	
	/**
	 * @return
	 */
	public String getClassName() {
		return className;
	}
	
	/**
	 * @return
	 */
	public String getMethodName() {
		return methodName;
	}
	
	/**
	 * @return
	 */
	public int getLineNumber() {
		return lineNumber;
	}

	/**
	 * @return
	 */
	public String getExceptionMessage() {
		return exceptionMessage;
	}

	/**
	 * @param exceptionMessage
	 */
	public void setExceptionMessage(String exceptionMessage) {
		this.exceptionMessage = exceptionMessage;
	}
}
